//
//  NYMyMoneyCell.m
//  HHBroker
//
//  Created by He Wei on 10/18/15.
//  Copyright © 2015 harry. All rights reserved.
//

#import "HHMyMoneyCell.h"

@implementation HHMyMoneyCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)setModel:(HHMyMoneyModel *)model
{
    _model = model;
    [self changeLayout];
}

- (void)changeLayout
{
    self.monthTitleLabel.text = _model.confim_time;
    self.timeLabel.text = _model.happen_time;
    self.moneyLabel.text = _model.amount;
}

+ (CGFloat)heightWithModel:(HHMyMoneyModel *)model
{
    return 90;
}


@end
